package com.gsafety.wellsfort.dao.security;

import com.gsafety.wellsfort.domain.model.security.Menu;

import java.util.List;

public interface MenuDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<Menu> queryByRoleId(Integer roleId);
}